cnb\admin\api\CnbAppRemote C

Total Complexity 118
Dependencies 17
Dependents 32
Total lines 920
Lines of code 474
Logical lines of code 271
Comment lines 302
Methods 55
Properties 0

Methods 55

Method Rating Maintainability Complexity Lines of code
cnb_remote_handle_response()
A
50 9 27
cnb_remote_get_args()
S
53 6 23
get_wp_info()
S
50 4 28
get_button()
S
61 4 12
get_action()
S
64 4 11
get_button_for_condition()
S
64 4 11
get_button_for_action()
S
64 4 11
cnb_remote_post()
S
57 3 16
cnb_remote_patch()
S
59 3 14
delete_apikey()
S
61 3 12
delete_condition()
S
62 3 11
delete_domain()
S
62 3 11
delete_button()
S
62 3 11
delete_action()
S
62 3 11
cnb_clean_site_url()
S
57 2 19
get_domain()
S
66 3 9
save_subscription_data()
S
70 3 6
cnb_get()
S
60 2 13
cnb_remote_delete()
S
62 2 11
init()
S
67 2 8
update_button()
S
68 2 7
update_action()
S
68 2 7
create_domain()
S
68 2 7
create_button()
S
68 2 7
create_action()
S
68 2 7
create_condition()
S
68 2 7
cnb_incr_transient_base()
S
74 2 4
cnb__get_transient_base()
S
69 2 7
get_user()
S
66 2 9
update_condition()
S
68 2 7
cnb_get_api_base()
S
74 2 4
get_wp_domain()
S
64 2 10
update_domain()
S
68 2 7
create_billing_portal()
S
60 1 14
create_email_activation()
S
63 1 11
get_conditions()
S
76 1 4
cnb_remote_get()
S
71 1 5
cnb_get_user_base()
S
78 1 3
create_apikey()
S
75 1 4
cnb_get_static_base()
S
78 1 3
cnb_get_transient_base()
S
79 1 3
cnb_wp_request()
S
65 1 8
wp_remote_delete()
S
71 1 5
wp_remote_patch()
S
71 1 5
get_subscription_data()
S
76 1 4
get_condition()
S
75 1 4
get_subscription_status()
S
72 1 5
update_user()
S
75 1 4
enable_email_opt_in()
S
77 1 4
disable_email_opt_in()
S
77 1 4
get_buttons()
S
76 1 4
get_actions()
S
76 1 4
get_apikeys()
S
76 1 4
get_apikey_via_ott()
S
74 1 4
get_site_url()
S
80 1 3